<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<style type="text/css">
body {
	margin: 0;
	background-image: url("bg1.jpg");
    /* 超出的僵尸不显示为了去掉拖动条*/
    overflow: hidden;
}
img{
position: absolute;
width:60px;
height: 60px;
}
#suc_h3{
float: left;
}
#fail_h3{
float: right;
}
</style>
</head>
<body>
<h3 id="suc_h3">成功数量:0</h3>
<h3 id="fail_h3">失败数量:0</h3>


  <script type="text/javascript" src="../js/jquery-1.4.2.js"></script>
  <script type="text/javascript">
  			var sCount=0;
  			var fCount=0;
  			var w=$(window).width();
  			var h=$(window).height();
  			$("body").css("background-size",w+"px "+h+"px");
  			onresize=function(){
  				w=$(window).width();
  				h=$(window).height();
  				$("body").css("background-size",w+"px "+h+"px");
  			}
  			var t1=setInterval(function(){
  				var type=parseInt(sCount/20);
  				if(type>3){
  					type=3;
  				}
  				
  			});
		</script>
</body>
</html>












